{% for err in errors %}
<div class="alert alert-danger alert-dismissible" role="alert">
<button type="button" class="close" data-dismiss="alert">
  <span aria-hidden="true">&times;</span><span class="sr-only">Close</span>
</button>
<strong>错误</strong> {{err}}
</div>
{% endfor %}
{% for ret in result %}
<div class="alert alert-success alert-dismissible" role="alert">
<button type="button" class="close" data-dismiss="alert">
  <span aria-hidden="true">&times;</span><span class="sr-only">Close</span>
</button>
<strong>消息</strong> {{ret}}
</div>
{% endfor %}